"""
dcmotor.py --

This file implements the DC Motor class.

Date of creation: 2010-15-11

Copyright
Julian David Colorado, jd.colorado@upm.es
Universidad Politecnica de Madrid

See the file "license.terms" for information on usage and redistribution of this file, and for a
DISCLAIMER OF ALL WARRANTIES.

"""
import wx

class DCmotor:
	""" system's DC Motor class definition"""
	def __init__(self, type ):
		"""Initializes a DC Motor object """

		if ( type == 'motor1'):
			self.type = 'motor1'
			self.Ka = 0.0
			self.Ta = 0.0
		elif( type == 'motor2'):
			self.type = 'motor2'
			self.R = 0.0
			self.r  = 0.0
			self.Km = 0.0
			self.Kg = 0.0
		elif( type == 'motor3'):
			self.type = 'motor3'
			self.R = 0.0
			self.r  = 0.0
			self.Km = 0.0
			self.Kg = 0.0









